package com.example.myapplication.base;

import android.app.Application;

import com.example.myapplication.server.DemoIntentService;
import com.example.myapplication.server.DemoPushService;
import com.example.myapplication.util.AppUtils;
import com.igexin.sdk.PushManager;

public class BaseApplication extends Application {
    public static BaseApplication mContext;
    public static BaseApplication getInstance(){
        return mContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;

        AppUtils.setApplication(this);
    }
}
